#ifndef PRELISTITEM_H
#define PRELISTITEM_H

#include <QListWidgetItem>

class PreListItem : public QListWidgetItem
{
public:
    PreListItem(const QIcon& icon,const QString& text,int& index,QListWidget *listview = nullptr, int type = Type);

    int GetIndex();
    QString GetPath();

private:
    QString _path;
    int _index;

};

#endif // PRELISTITEM_H
